package com.chenxin.interact.domain.wmsToMes;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chenxin.common.core.domain.WmsBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@TableName("wms_to_mes_quality")
@Data
public class WmsToMesQuality extends WmsBaseEntity {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    private String workOrderNo;

    /**
     * 成品编码
     */
    private String productCode;

    /**
     * 数量
     */
    private BigDecimal qty;

    private String customerCode;
    private String batchNumber;
    private String shippingOrderNumber;
    private String inspectionMode;
    private String notes;

    /**
     * 接口结果（0-初始 1-成功 4-失败）
     */
    private Integer status;

    /**
     * 返回信息
     */
    private String message;
}
